#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QKeyEvent>
#include <string>
#include <stdio.h>
#include <iostream>
#include <sstream>
namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    std::string Convert (float number){
        std::ostringstream buff;
        buff<<number;
        return buff.str();

    }

private slots:
    void on_pushButton_3_clicked();
    void on_horizontalSlider_6_valueChanged(int value);
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();
    void on_horizontalSlider_valueChanged(int value);
    void on_horizontalSlider_2_valueChanged(int value);
    void on_horizontalSlider_3_valueChanged(int value);
    void on_horizontalSlider_5_valueChanged(int value);
    void on_horizontalSlider_4_valueChanged(int value);
    void on_actionQuit_triggered();
    void on_actionDraw_triggered(bool checked);
    void on_actionView_triggered(bool checked);
    void on_actionDraw_triggered();
    void on_actionView_triggered();
    void set_text_lambda(int val);
    void set_text_tropism(int val);
    void set_text_aux_angle(int val);
    void set_text_shed_thres(int val);
    void set_text_term_weight(int val);
    void set_text_aux_weight(int val);
};

#endif // MAINWINDOW_H
